package com.app.websocket.vo;/**
 * @program: app-admin
 * @name NoticeMessageVo
 * @description: 消息通知实体类
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 *@author:
 *@program: app-admin
 *@name NoticeMessageVo
 *@description: 消息通知实体类
 */
@Data
@ApiModel(value = "NoticeMessageVo" , description = "消息通知实体类" )
public class NoticeMessageVo {

    @ApiModelProperty(value = "消息ID")
    private String msgId;

    @ApiModelProperty(value = "就诊ID")
    private String visitId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "消息日期")
    private Date msgDate;

    @ApiModelProperty(value = "消息类别（1=温度过高,2=电量低,2=传感器没接/断开,2=传感器短路）")
    private String msgType;

    @ApiModelProperty(value = "消息内容")
    private String msgContent;
}
